package com.project;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@MapperScan("com.project.mapper")
public class AssEquManSysApplication {
    @RestController
    class HelloWorldController {
        @GetMapping("/")
        String hello() {
            return "欢迎来到‘宁夏档案馆固定资产及设备管理系统‘后端！";
        }
    }

    public static void main(String[] args) {
        SpringApplication.run(AssEquManSysApplication.class, args);
    }
}
